﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="登陆.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    
    <script type = "text/javascript">
    function update()
    {
        var time = new Date().getTime();
        var checkImg = document.getElementById("checkImg");
        checkImg.src = "验证码.aspx?" + time;
    }
    
    function checkImg_onclick() {
        update();
    }

    </script>
    
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 332px; height: 107px">
            <tr>
                <td style="width: 78px">
                    账号：</td>
                <td>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
                <td style="width: 5px">
                </td>
            </tr>
            <tr>
                <td style="width: 78px; height: 33px">
                    密码：</td>
                <td style="height: 33px">
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></td>
                <td style="width: 5px; height: 33px">
                </td>
            </tr>
            <tr>
                <td style="width: 78px; height: 30px">
                    验证码：</td>
                <td style="height: 30px">
                    <input maxlength="6" size="7" type="text" name="checkNum" />
                    <img alt="看不清？换一张" src="验证码.aspx?" style="width: 152px; height: 33px" id="checkImg" onclick="return checkImg_onclick()" /></td>
                <td style="width: 5px; height: 30px">
                </td>
            </tr>
            <tr>
                <td style="width: 78px; height: 30px">
                </td>
                <td style="height: 30px">
                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="登陆" Width="105px" /></td>
                <td style="width: 5px; height: 30px">
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
